import request from "./axInstance";
import md5 from "js-md5";
export const login = (form) => {
  const post_data = {
    username: form.username,
    password: md5(form.password),
    type: 0
  };
  return request.post("login", post_data);
};
